|
2000W / 48V LLC Battery-Charger
V1.00
|
#include <xmc_rtc.h>
Public Attributes | |
| union { | |
| uint32_t raw0 | |
| struct { | |
| uint32_t seconds: 6 | |
| uint32_t __pad0__: 2 | |
| uint32_t minutes: 6 | |
| uint32_t __pad1__: 2 | |
| uint32_t hours: 5 | |
| uint32_t __pad2__: 3 | |
| uint32_t days: 5 | |
| uint32_t __pad3__: 3 | |
| } | |
| }; | |
| union { | |
| uint32_t raw1 | |
| struct { | |
| uint32_t __pad0__: 8 | |
| uint32_t month: 4 | |
| uint32_t __pad1__: 4 | |
| uint32_t year: 16 | |
| } | |
| }; | |
Alarm time values of RTC
The structure presents a convenient way to set/obtain the alarm time values for seconds, minutes, hours, days, month and year of RTC. The XMC_RTC_SetAlarm() and XMC_RTC_GetAlarm() can be used to populate the structure with the alarm time value of RTC
| union { ... } |
| union { ... } |
| uint32_t XMC_RTC_ALARM::days |
Alarm days compare value (0-Actual days of month: Above this causes this bitfield to be set with 0)
Definition at line 188 of file xmc_rtc.h.
Referenced by XMC_RTC_GetAlarmStdFormat(), XMC_RTC_SetAlarm(), and XMC_RTC_SetAlarmStdFormat().
| uint32_t XMC_RTC_ALARM::hours |
Alarm hours compare value (0-23: Above this causes this bitfield to be set with 0)
Definition at line 186 of file xmc_rtc.h.
Referenced by XMC_RTC_GetAlarmStdFormat(), XMC_RTC_SetAlarm(), and XMC_RTC_SetAlarmStdFormat().
| uint32_t XMC_RTC_ALARM::minutes |
Alarm minutes compare value (0-59: Above this causes this bitfield to be set with 0)
Definition at line 184 of file xmc_rtc.h.
Referenced by XMC_RTC_GetAlarmStdFormat(), XMC_RTC_SetAlarm(), and XMC_RTC_SetAlarmStdFormat().
| uint32_t XMC_RTC_ALARM::month |
Alarm month compare value (0-11: Above this causes this bitfield to be set with 0)
Definition at line 199 of file xmc_rtc.h.
Referenced by XMC_RTC_GetAlarmStdFormat(), XMC_RTC_SetAlarm(), and XMC_RTC_SetAlarmStdFormat().
| uint32_t XMC_RTC_ALARM::raw0 |
Definition at line 179 of file xmc_rtc.h.
Referenced by XMC_RTC_GetAlarm(), XMC_RTC_GetAlarmStdFormat(), XMC_RTC_Init(), and XMC_RTC_SetAlarm().
| uint32_t XMC_RTC_ALARM::raw1 |
Definition at line 195 of file xmc_rtc.h.
Referenced by XMC_RTC_GetAlarm(), XMC_RTC_GetAlarmStdFormat(), XMC_RTC_Init(), and XMC_RTC_SetAlarm().
| uint32_t XMC_RTC_ALARM::seconds |
Alarm seconds compare value (0-59: Above this causes this bitfield to be set with 0)
Definition at line 182 of file xmc_rtc.h.
Referenced by XMC_RTC_GetAlarmStdFormat(), XMC_RTC_SetAlarm(), and XMC_RTC_SetAlarmStdFormat().
| uint32_t XMC_RTC_ALARM::year |
Alarm year compare value
Definition at line 201 of file xmc_rtc.h.
Referenced by XMC_RTC_GetAlarmStdFormat(), XMC_RTC_SetAlarm(), and XMC_RTC_SetAlarmStdFormat().